package com.hhq.usercenter.service;

import com.hhq.usercenter.domain.pojo.UserInfo;
import com.hhq.usercenter.domain.req.LoginReq;

/**
 * <p>Description: some description </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/1/9 16:20
 */
public interface ILoginService {


    /**
     * 登录
     *
     * @param req
     * @return
     */
    UserInfo login(LoginReq req);

    /**
     * 注销
     */
    void logout();
}
